//
//  SYTJStudentsTableViewCell.m
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/6/7.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import "SYLXStudentsTableViewCell.h"

@interface SYLXStudentsTableViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *xuhaoLab;
@property (weak, nonatomic) IBOutlet UILabel *tixingLab;
@property (weak, nonatomic) IBOutlet UILabel *nandulAB;
@property (weak, nonatomic) IBOutlet UILabel *pigaiLab;
@property (weak, nonatomic) IBOutlet UILabel *duicuoLab;
@property (weak, nonatomic) IBOutlet UILabel *zhengqueluLab;
@property (weak, nonatomic) IBOutlet UILabel *defenLab;


@end


@implementation SYLXStudentsTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setQuestionModel:(SYKaoPingZYModel *)questionModel {
    self.xuhaoLab.text = questionModel.questionSerial;
    self.tixingLab.text = questionModel.questionType;
    self.nandulAB.text = questionModel.difficultyLevel;
    self.pigaiLab.text = [NSString stringWithFormat:@"%@/%@/%@",questionModel.attendNum,questionModel.submitNum,questionModel.correctedNum];
    self.duicuoLab.text = [NSString stringWithFormat:@"%@/%@",questionModel.rightNum,questionModel.wrongNum];
    self.zhengqueluLab.text = [NSString stringWithFormat:@"%@%%",questionModel.rightRate];

}


@end





















